package com.donger.business.form.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 在线表单字典配置表(OnlFormField)表实体类
 *
 * @author 7326
 * @since 2020-04-28 13:32:36
 */
@Data
@TableName
public class OnlFormField implements Serializable {

    private static final long serialVersionUID = -1; 
        
    /**主键ID*/
    private String id;
        
    /**表ID*/
    private String cgformHeadId;
        
    /**字段名字*/
    private String dbFieldName;
        
    /**字段备注*/
    private String dbFieldTxt;
        
    /**原字段名*/
    private String dbFieldNameOld;
        
    /**是否主键 0否 1是*/
    private Object dbIsKey;
        
    /**是否允许为空0否 1是*/
    private Object dbIsNull;
        
    /**数据库字段类型*/
    private String dbType;
        
    /**数据库字段长度*/
    private Integer dbLength;
        
    /**小数点*/
    private Integer dbPointLength;
        
    /**表字段默认值*/
    private String dbDefaultVal;
        
    /**字典code*/
    private String dictField;
        
    /**字典表*/
    private String dictTable;
        
    /**字典Text*/
    private String dictText;
        
    /**表单控件类型*/
    private String fieldShowType;
        
    /**跳转URL*/
    private String fieldHref;
        
    /**表单控件长度*/
    private Integer fieldLength;
        
    /**表单字段校验规则*/
    private String fieldValidType;
        
    /**字段是否必填*/
    private String fieldMustInput;
        
    /**扩展参数JSON*/
    private String fieldExtendJson;
        
    /**填值规则code*/
    private String fieldValueRuleCode;
        
    /**是否查询条件0否 1是*/
    private Object isQuery;
        
    /**表单是否显示0否 1是*/
    private Object isShowForm;
        
    /**列表是否显示0否 1是*/
    private Object isShowList;
        
    /**是否是只读（1是 0否）*/
    private Object isReadOnly;
        
    /**查询模式*/
    private String queryMode;
        
    /**外键主表名*/
    private String mainTable;
        
    /**外键主键字段*/
    private String mainField;
        
    /**排序*/
    private Integer orderNum;
        
    /**修改人*/
    private String updateBy;
        
    /**修改时间*/
    private Date updateTime;
        
    /**创建时间*/
    private Date createTime;
        
    /**创建人*/
    private String createBy;
}